home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Compilers / digital marsC compier / dm / include / Sound.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-03-16  |  464 b   |  28 lines

  1. /* Copyright (C) 1986-2001 by Digital Mars. $Revision: 1.1.1.1 $ */
  2. #if __SC__ || __RCC__
  3. #pragma once
  4. #endif
  5.  
  6. #ifndef __SOUND_H
  7. #define __SOUND_H 1
  8.  
  9. #if __cplusplus
  10. extern "C" {
  11. #endif
  12.  
  13. #if __OS2__ || __NT__
  14. void __cdecl sound_note(int frequency,int duration);
  15. #else
  16. void __cdecl sound_tone(int cycles,int uptime,int dntime);
  17. #endif
  18.  
  19. void __cdecl sound_beep(int freq);
  20. void __cdecl sound_click(void);
  21.  
  22. #if __cplusplus
  23. }
  24. #endif
  25.  
  26.  
  27. #endif
  28.